package org.road0329.tools.proto_parse_tool.ems.dataobject;

import com.alibaba.fastjson.annotation.JSONField;
import org.road0329.tools.proto_parse_tool.chargingpile.MsgCommData;

import java.math.BigDecimal;
import java.util.Date;

public class PowerCumulant extends MsgCommData {
    /*数据时间*/
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dataTime;
    /*表码总*/
    private BigDecimal total;
    /*表码尖*/
    private BigDecimal sharp;
    /*表码峰*/
    private BigDecimal peak;
    /*表码平*/
    private BigDecimal flat;
    /*表码谷*/
    private BigDecimal valley;


    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getSharp() {
        return sharp;
    }

    public void setSharp(BigDecimal sharp) {
        this.sharp = sharp;
    }

    public BigDecimal getPeak() {
        return peak;
    }

    public void setPeak(BigDecimal peak) {
        this.peak = peak;
    }

    public BigDecimal getFlat() {
        return flat;
    }

    public void setFlat(BigDecimal flat) {
        this.flat = flat;
    }

    public BigDecimal getValley() {
        return valley;
    }

    public void setValley(BigDecimal valley) {
        this.valley = valley;
    }
}
